﻿using System.Threading.Tasks;

namespace YWM.Net.Http
{
    public interface IHttpClientProxy
    {
        Task<TResult> GetAsync<TResult>(HttpConfig httpConfig);

        Task<TResult> PostAsync<TResult>(HttpConfig httpConfig);

        Task<TResult> PutAsync<TResult>(HttpConfig httpConfig);

        Task<TResult> DeleteAsync<TResult>(HttpConfig httpConfig);
    }
}
